package com.bw;

import org.junit.Test;

public class XiaoMing {

    @Test
    public  void test() {

        DiorPerfume diorPerfume = new DiorPerfume();
        XiaoHong xiaoHong = new XiaoHong();
        xiaoHong.setDiorPerfume(diorPerfume);

        xiaoHong.salePerfume();

    }


    @Test
    public  void test02() {

        LFRedWine lfRedWine = new LFRedWine();
        XiaoHong xiaoHong = new XiaoHong();
        xiaoHong.setLfRedWine(lfRedWine);

        xiaoHong.saleWine();
    }
}
